package com.lzy.chat.c_service;

import com.lzy.chat.a_entity.User;

public class LoginContext {
    private LoginService loginService;

    public LoginContext(LoginService loginService){
        this.loginService = loginService;
    }

    public User execute(Integer id, String password){
        return loginService.login(id,password);
    }
}
